<template>
  <div class="category-nav-bar">
    <div class="left">
      <i class="el-icon-arrow-left"></i>
    </div>
    <div class="center">
      <!-- <input type="text" /> -->
      商品分类
    </div>
    <div class="right">
      <i class="el-icon-search"></i>
    </div>
  </div>
</template>

<script>
export default {
  name: "categoryNavBar",
};
</script>

<style>
.category-nav-bar {
  /* flex: 1; */
  display: flex;
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  background-color: pink;
}
.left,.right {
  flex: 0.2;  
  /* background-color: grey; */
}
.center {
  flex: 0.6;
}
</style>